package com.mzx.service.impl;


import com.mzx.dao.ProductDao;
import com.mzx.pojo.Product;
import com.mzx.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    ProductDao productDao;

    @Override
    public List<Product> queryList() {
        return productDao.queryList();
    }
}
